const routes = [
    {name:"Login",
        path:"/login",
        component: () => import('@/login')
    },
    {name:"Index",
        path:"/index",
        component: () => import('@/index'),
        children: [
            {name:"Supplier",
                path:"/Index/supplier",
                component: () => import('@/supplier/supplier')
            },
            {name:"User",
                path:"/Index/user",
                component: () => import('@/user/user')
            },
            {name:"Client",
                path:"/Index/client",
                component: () => import('@/client/client')
            },
            {name:"Log",
                path:"/Index/log",
                component: () => import('@/user/log')
            },
            {name:"Role",
                path:"/Index/role",
                component: () => import('@/user/role')
            },
            {name:"BuyerCar",
                path:"/Index/buyerCar",
                component: () => import('@/purchase/buyerCar')
            },
            {name:"PurchaseInfo",
                path:"/Index/purchaseInfo",
                component: () => import('@/purchase/purchaseInfo')
            },
            {name:"Sell",
                path:"/Index/sell",
                component: () => import('@/sell/sell')
            },
            {name:"SellInfo",
                path:"/Index/sellInfo",
                component: () => import('@/sell/sellInfo')
            },
            {name:"product",
                path:"/Index/product",
                component: () => import('@/product/product')
            }
            ]
    },

];

export default routes ;